package com.lovo.service;

import com.lovo.pojo.UserDO;

public interface UserService {
    UserDO getByusernameAndPwd(String name, String pwd);

    void saveMoney(int id, double money);

    void getMoney(int id, double money) throws Exception;

    void transfer(int id, String ortherUser, double money) throws Exception;

    void changeSecret(int id, String oldSecret, String newSecret) throws Exception;
}
